From: Rene Engelhard Date: Sat, 9 Aug 2025 17:05:15 +0000 (+0200) Subject: [PATCH] add EUR for Bulgaria/Lew X-Git-Tag: archive/raspbian/4%25.2.3-2+rpi1+deb13u3^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=6191b88f4c0a2fb60f6917f82f838e4c26a74e19;p=libreoffice.git [PATCH] add EUR for Bulgaria/Lew Bulgaria will join Eurozone 2026-01-01 at which time around the default needs to be switched see https://www.ecb.europa.eu/press/pr/date/2025/html/ecb.pr250708~b9676a9fa8.de.html for the conversion rate This is the < 26.2 version including the euro wizard (cf. b1a2f727ca99ecd3402d4b051b99cbfd24266e59) Change-Id: I840ddda4308549703c53f998812848888dd830f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189279 Reviewed-by: Eike Rathke Tested-by: Jenkins From 147f2fe0e46ef030ccee10581b97ffdce770b79f Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 28 Nov 2025 10:25:42 +0100 Subject: fix typo: BLN -> BGN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After commit 37d1cc071ba0cc7f9922c4409d0a014a722ebbce Author: Rene Engelhard Date: Sat Aug 9 19:05:15 2025 +0200 add EUR for Bulgaria/Lew Change-Id: I6679404cba0be0219bf7ede06297f9b1c990e8b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194760 Reviewed-by: Eike Rathke Tested-by: Jenkins Reviewed-by: René Engelhard Signed-off-by: Xisco Fauli Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194766 Gbp-Pq: Name add-EUR-for-Bulgaria-Lew.diff --- diff --git a/i18npool/source/localedata/data/bg_BG.xml b/i18npool/source/localedata/data/bg_BG.xml index 55c63049089..ae295a38c7b 100644 --- a/i18npool/source/localedata/data/bg_BG.xml +++ b/i18npool/source/localedata/data/bg_BG.xml @@ -366,6 +366,14 @@ BGL 2 + + + EUR + € + EUR + евро + 2 + diff --git a/officecfg/registry/data/org/openoffice/Office/Calc.xcu b/officecfg/registry/data/org/openoffice/Office/Calc.xcu index eda60fe6c43..bfea8348724 100644 --- a/officecfg/registry/data/org/openoffice/Office/Calc.xcu +++ b/officecfg/registry/data/org/openoffice/Office/Calc.xcu @@ -239,6 +239,17 @@ 7.53450 + + + EUR + + + BGN + + + 1.95583 + + diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index 81013d3ed09..f3f821f28c3 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -3312,7 +3312,8 @@ static bool lclConvertMoney( std::u16string_view aSearchUnit, double& rfRate, in { "EEK", 15.6466, 2 }, { "LVL", 0.702804, 2 }, { "LTL", 3.45280, 2 }, - { "HRK", 7.53450, 2 } + { "HRK", 7.53450, 2 }, + { "BGN", 1.95583, 2 } }; for (const auto & i : aConvertTable) diff --git a/wizards/source/euro/Init.xba b/wizards/source/euro/Init.xba index 9f56c503a34..65148e57099 100644 --- a/wizards/source/euro/Init.xba +++ b/wizards/source/euro/Init.xba @@ -90,6 +90,7 @@ Public sCurrESTONIAN as String Public sCurrLATVIAN as String Public sCurrLITHUANIAN as String Public sCurrCROATIAN as String +Public sCurrBULGARIAN as String Public sPrgsRETRIEVAL as String Public sPrgsCONVERTING as String @@ -216,6 +217,7 @@ Dim LocWorkPath as String sCurrLATVIAN = GetResText("CURRENCIES_17") sCurrLITHUANIAN = GetResText("CURRENCIES_18") sCurrCROATIAN = GetResText("CURRENCIES_19") + sCurrBULGARIAN = GetResText("CURRENCIES_20") .cmdCancel.Label = sCANCEL .cmdHelp.Label = sHELP .cmdBack.Label = GetResText("STEP_ZERO_2") @@ -400,6 +402,11 @@ Sub InitializeLanguages() LangIDValue(19,0,1) = "HR" LangIDValue(19,0,2) = "-41A" +' CURRENCIES_BULGARIAN + LangIDValue(20,0,0) = "bg" + LangIDValue(20,0,1) = "BG" + LangIDValue(20,0,2) = "-402" + End Sub @@ -588,6 +595,15 @@ Dim i as Integer CurrValue(19,4) = "kn" CurrValue(19,5) = "HRK" + CurrValue(20,0) = sCurrBULGARIAN + ' real conversion rate + CurrValue(20,1) = 1.95583 + ' rounded conversion rate + CurrValue(20,2) = 2 + CurrValue(20,3) = "лв." + CurrValue(20,4) = "лв." + CurrValue(20,5) = "BGN" + i = -1 CurrSymbolList(0) = "" CurrSymbolList(1) = "" diff --git a/wizards/source/resources/resources_en_US.properties b/wizards/source/resources/resources_en_US.properties index d75cb03bdf0..5ae6382ccaf 100644 --- a/wizards/source/resources/resources_en_US.properties +++ b/wizards/source/resources/resources_en_US.properties @@ -449,6 +449,7 @@ CURRENCIES_16=Estonian Kroon CURRENCIES_17=Latvian Lats CURRENCIES_18=Lithuanian Litas CURRENCIES_19=Croatian Kuna +CURRENCIES_20=Bulgarian Lew STEP_LASTPAGE_0=Progress STEP_LASTPAGE_1=Retrieving the relevant documents... STEP_LASTPAGE_2=Converting the documents...